package icrts.logic;

import java.awt.Graphics;

public abstract class AbstractUnit extends AbstractGameObject{
	int health;
	int armor;
	int damage;
	Bonus bonus;

	public AbstractUnit(int health, int armor, int damage, Bonus bonus, Position p){
		super(p);

		this.health = health;
		this.armor = armor;
		this.damage = damage;
		this.bonus = bonus;

		identifier = "AbstractUnit at " + p.printPos();
		
	}


	public void setPos(Position pos){
		this.pos = pos;
	}

	public int getHealth(){
		return health;
	}

	public int getArmor(){
		return armor;
	}

	public int getDamage(){
		return damage;
	}

	public Bonus getBonus(){
		return bonus;
	}

}
